Skip to content

Conversation

@kylejuliandev
Copy link
Contributor

@kylejuliandev kylejuliandev commented Oct 19, 2025

This PR

Add code to handle the new scenarios covered in the specification gherkin files. Some of the scenarios are skipped as the core SDK does not have support for it yet, for example like disabled InMemoryProvider flags.

Related Issues

Notes

Follow-up Tasks

How to test

Signed-off-by: Kyle Julian <[email protected]>
Signed-off-by: Kyle Julian <[email protected]>
Signed-off-by: Kyle Julian <[email protected]>
Some of the test cases have been skipped due to the SDK not having
support for it yet. Some tests will fail due to a bug in the
InMemoryProvider.

Signed-off-by: Kyle Julian <[email protected]>
@codecov
Copy link

codecov bot commented Oct 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.89%. Comparing base (dcb4c17) to head (4c43260).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #604   +/-   ##
=======================================
  Coverage   89.89%   89.89%           
=======================================
  Files          77       77           
  Lines        3168     3168           
  Branches      364      364           
=======================================
  Hits         2848     2848           
  Misses        251      251           
  Partials       69       69           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kylejuliandev
Copy link
Contributor Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request makes significant progress in expanding the E2E test suite to cover new scenarios from the specification's gherkin files. The introduction of test-flags.json is a good step towards data-driven testing. However, a major concern is that the test data from this JSON file is manually duplicated in C# code within BaseStepDefinitions.cs, which undermines the benefit of the JSON file and creates a maintenance challenge. Additionally, there are several opportunities to refactor duplicated code in the new step definition files, which would improve code quality and maintainability. My review includes specific suggestions to address these points.

@kylejuliandev kylejuliandev marked this pull request as ready for review October 30, 2025 21:14
@kylejuliandev kylejuliandev requested a review from a team as a code owner October 30, 2025 21:14
@kylejuliandev kylejuliandev changed the title test(e2e): Update e2e tests (work in progress) test(e2e): Update e2e tests to support newer spec submodule Oct 30, 2025
Copy link
Member

@aepfli aepfli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to see, that we are moving further into the gherkin spec direction. i left some nits, i think this move to the json file, and the new format for test steps, helps us tremendiously to ensure compliance between sdks. thank you for this contribution

@kylejuliandev kylejuliandev requested a review from aepfli November 6, 2025 16:28
@kylejuliandev kylejuliandev added this pull request to the merge queue Nov 6, 2025
Merged via the queue into open-feature:main with commit 7b72c19 Nov 6, 2025
23 checks passed
@kylejuliandev kylejuliandev deleted the update-e2e-tests branch November 6, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants